package com.yangbo.config;

import com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolver;
import com.yangbo.handler.HostAddrKeyResolver;
import com.yangbo.handler.UriKeyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yangbo
 * @date 2019-08-29 16:19
 */
@Configuration
public class ResolverConfig {

    @Bean
    public HostAddrKeyResolver hostAddrKeyResolver() {
        return new HostAddrKeyResolver();
    }

    @Bean
    public UriKeyResolver uriKeyResolver() {
        return new UriKeyResolver();
    }
}
